package cb.wzby;

import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * @author wzby
 * @Date: 2022/7/29 10:48
 */
public class Set2{
    public static void main(String[] args) {


        Set<Student> s = new HashSet<>(List.of(
                new Student(1, "占卜", 24),
                new Student(3, "展布", 56),
                new Student(2, "转变", 27),
                new Student(1, "转播", 24))
        );
        System.out.println(s.size());
        System.out.println(s);
    }
}
